error-detecting routine

[计]错误检测例程